<!DOCTYPE html>
<html class="x-admin-sm">
    <head>
        <meta charset="UTF-8">
        <title>反馈列表</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <link href="//unpkg.com/layui@2.9.14/dist/css/layui.css" rel="stylesheet">
        <link rel="stylesheet" href="./css/font.css">
        <link rel="stylesheet" href="./css/xadmin.css">
        <script src="./lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="./js/xadmin.js"></script>
        <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        <script src="./js/jquery.js"></script>
        <script src="./js/common/ajaxUse.js"></script>
        <script src="js/common/FilterExampleQuery.js"></script>
    </head>
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">用户反馈管理</a>
            <a>
              <cite>反馈列表</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>

        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body FilterParent">
                            <div class="layui-inline layui-show-xs-block">
                                <button class="layui-btn"  lay-submit="" lay-filter="search"><i class="layui-icon" onclick="submit('/search/exampleQuery',NotExampleQuery(4))">重置列表</i></button>
                                <button class="layui-btn"  lay-submit="" lay-filter="search"><i class="layui-icon" onclick="addFilter()">新增筛选</i></button>
                                <button class="layui-btn"  lay-submit="" lay-filter="search"><i class="layui-icon" onclick="submit('/search/exampleQuery',getExamples(4))">&#xe615;</i></button>
                            </div>
                            <div class="layui-collapse Filter" lay-filter="test">
                            <div class="layui-colla-item">
                                <h2 class="layui-colla-title">条件筛选
                                    <a title="删除" onclick="deleteFilter(this.parentElement.parentElement.parentElement)" href="javascript:;">
                                        <i class="layui-icon">&#xe640;</i></a></h2>
                                <div class="layui-colla-content">
                                    <form class="layui-form" action="">
                                        <div class="layui-form-item" style="display: inline-block; margin-right: 10px;">
                                            <label for="fbUserId" class="layui-form-label">
                                                用户编号
                                            </label>
                                            <div class="layui-input-inline">
                                                <input type="number" id="fbUserId" name="fbUserId" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                        <div class="layui-form-item" style="display: inline-block; margin-right: 10px;">
                                            <label for="fbSubmitDate" class="layui-form-label">
                                                反馈提交日期
                                            </label>
                                            <div class="layui-input-inline">
                                                <input type="date" id="fbSubmitDate" name="fbSubmitDate" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                        <div class="layui-form-item" style="display: inline-block; margin-right: 10px;">
                                            <label for="fbIssue" class="layui-form-label">
                                                问题
                                            </label>
                                            <div class="layui-input-inline">
                                                <input type="text" id="fbIssue" name="fbIssue" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                        <br>
                                        <div class="layui-form-item" style="display: inline-block; margin-right: 10px;">
                                            <label for="fbType" class="layui-form-label">
                                                反馈类型
                                            </label>
                                            <div class="layui-input-inline" id="fbType">
                                                <input type="radio" name="fbType" value=0 title="投诉与建议">
                                                <input type="radio" name="fbType" value=1 title="设施维修">
                                                <input type="radio" name="fbType" value=2 title="物业服务">
                                            </div>
                                        </div>
                                        <div class="layui-form-item" style="display: inline-block; margin-right: 10px;">
                                            <label for="fbStatus" class="layui-form-label">
                                                反馈状态
                                            </label>
                                            <div class="layui-input-inline" id="fbStatus">
                                                <input type="radio" name="fbStatus" value=1 title="已被提交">
                                                <input type="radio" name="fbStatus" value=2 title="已被受理">
                                                <input type="radio" name="fbStatus" value=3 title="已被完成  ">
                                            </div>
                                        </div>
                                        <div class="layui-form-item">
                                            <div class="layui-input-block">
                                                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                        </div>
                        <div class="layui-card-table ">
                            <table class="layui-table layui-form data-list">
                              <thead>
                                <tr>
                                  <th>
                                    <input type="checkbox" name="" lay-filter="checkall" lay-skin="primary">
                                  </th>
                                    <th>反馈编号</th>
                                    <th>反馈提交时间</th>
                                    <th>反馈类型</th>
                                    <th>反馈内容</th>
                                    <th>状态</th>
                                    <th>备注</th>
                                    <th>反馈用户</th>
                                    <th>操作</th>
                              </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
    <script>
        submit('/search/exampleQuery',NotExampleQuery(4))
      layui.use(['laydate','form'], function(){
        var laydate = layui.laydate;
        var form = layui.form;
        
        //执行一个laydate实例
        laydate.render({
          elem: '#start' //指定元素
        });

        //执行一个laydate实例
        laydate.render({
          elem: '#end' //指定元素
        });
      });
        /*用户-停用*/
        /*用户-删除*/
      function member_del(obj,id){
          id = obj.parentElement.parentElement.childNodes.item(3).textContent;
          layer.confirm('确认要删除吗？',function(){
              submit("/Feedback/deleteFeedback",JSON.stringify({fbId:id}))
              //发异步删除数据
              $(obj).parents("tr").remove();
          });
      }
    </script>
</html>